/**
 * 版权所有(C)，中国银联股份有限公司，2002-2013，所有权利保留。
 * 
 * 项目名：	simple-service
 * 文件名：	SystemServiceInfoImpl.java
 * 模块说明：	
 * 修改历史：
 * 2013-10-29 - Administrator - 创建。
 */
package com.aeky.simple.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aeky.simple.dao.SystemInfoDao;
import com.aeky.simple.entity.SystemInfo;
import com.aeky.simple.service.SystemInfoService;
import com.aeky.simple.vo.page.Pager;

/**
 * @author wanghui
 * 
 */
@Service("systemInfoService")
public class SystemInfoServiceImpl implements SystemInfoService {

    @Autowired
    private SystemInfoDao systemInfoDao;

    public List<SystemInfo> queryAll() {
        return systemInfoDao.queryAll();
    }

    public void addSystemInfo(SystemInfo systemInfo) {
        systemInfoDao.addSystemInfo(systemInfo);
    }

    public void deleteSystemInfo(List<String> sysCodeList) {
        systemInfoDao.deleteSystemInfo(sysCodeList);
    }

    public void updateSystemInfo(SystemInfo systemInfo) {
        systemInfoDao.updateSystemInfo(systemInfo);
    }

    public void changeSystemInfoStatus(Map<String, Object> dataMap) {
        systemInfoDao.changeSystemInfoStatus(dataMap);
    }

    public SystemInfo querySystemInfoBySystemCodeAndVersion(Map<String, Object> dataMap) {
        return systemInfoDao.querySystemInfoBySystemCodeAndVersion(dataMap);
    }

    public SystemInfo querySystemInfoBySystemCode(String sysCode) {
        return systemInfoDao.querySystemInfoByPK(sysCode);
    }

    public Pager<SystemInfo> querySystemInfoList(Pager<SystemInfo> pager,
                    Map<String, Object> dataMap) {
        return systemInfoDao.querySystemInfoList(pager, dataMap);
    }

}
